#include < iostream >
#include < stdlib.h >

#include "ExpertSystem.h"

int		main( int ac, char** av )
{
	if ( ac == 2 )
	{
		CExpertSystem	oExpertSystem( av[ 1 ] );

		oExpertSystem.Start();
	}
	else
	{
		std::cout << "USAGE : ./ExpertSystem [ NameFile ]" << std::endl;
		system( "pause" );
		return EXIT_FAILURE;
	}

	system( "pause" );

	return EXIT_SUCCESS;
}
